package bai7.model;

 abstract class Person {
	private String name;
	private String dc;
	private String dateOfbirth;
	private String email;
	abstract void display();
	public Person(){
		
	}
	public Person(String name, String dc, String dateOfbirth, String email) {
		super();
		this.name = name;
		this.dc = dc;
		this.dateOfbirth = dateOfbirth;
		this.email = email;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDc() {
		return dc;
	}
	public void setDc(String dc) {
		this.dc = dc;
	}
	public String getDateOfbirth() {
		return dateOfbirth;
	}
	public void setDateOfbirth(String dateOfbirth) {
		this.dateOfbirth = dateOfbirth;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	

}
